#page-4 {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;

  .desc, .code, .again, .invite, .rule {
    img {
      max-height: 100%;
      max-width: 100%;
      .center-block();
    }
  }

  .desc {
    height: 23%;
  }

  .code {
    height: 16%;
    margin-top: 5px;
    position: relative;
    .code-id {
      position: absolute;
      font-size: 14px;
      color: #f6bf43;
      letter-spacing: 3px;
    }
  }

  .btn {
    text-align: center;
    margin-top: 5px;
    height: 7%;
    .again, .invite {
      display: inline-block;
      height: 100%;
      padding-left: 10px;
      padding-right: 10px;
      .animation(yao-1 0.3s linear infinite);
    }
  }

  .rule {
    height: 22%;
    margin-top: 10px;
  }

  .share {
    display: none;
    .square(100%);
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);

    img {
      width: 100%;
    }
  }
}